package com.qys.livesMall.navy.enums;

import com.qys.livesMall.common.message.QysLang;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/05/16
 * Time: 14:26
 * DESCRIPTION: 异常枚举类
 */
public enum NavyMessageEnum implements QysLang {
    NAVY_NOT_ID(60000,"navy.not.id"),
    ;


    private final String PROJECT="navy";

    /**
     * 错误码
     */
    private int code;

    /**
     * 错误描述
     */
    private String msgKey;

    NavyMessageEnum(int code, String msgKey) {
        this.code = code;
        this.msgKey = msgKey;
    }

    public int getCode() {
        return code;
    }

    public String getMsgKey() {
        return msgKey;
    }

    @Override
    public String PROJECT() {
        return PROJECT;
    }

}
